﻿<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Request.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table>
        <tr>
            <td>金额</td><td style="width: 442px">
                <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="请输入合法报销金额"
                    ValidationExpression="^[0-9]*\.?[0-9]{0,2}$" ControlToValidate="TextBox1"></asp:RegularExpressionValidator></td>
        </tr>
        <tr>
            <td style="height: 70px">报销事由</td><td style="width: 442px; height: 70px">
                <asp:TextBox ID="TextBoxReason" runat="server" Height="67px" TextMode="MultiLine" Width="242px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="报销事由不能为空" ControlToValidate="TextBoxReason"></asp:RequiredFieldValidator></td>
        </tr>
    </table>
    
    </div>
        <asp:Button ID="Button1" runat="server" Text="提交" OnClick="Button1_Click" />
        <br />
        <br />
        <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Default.aspx">返回</asp:HyperLink>
    </form>
</body>
</html>
